package com.weixin.reflection.reflectionTest;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName Human
 * @Description 人类
 * @date 2022/2/21 10:19
 * @author: wx
 * @Version 1.0
 */
@MyAnnotation(Value = "人类测试类")
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class Human extends Creature<String> implements Comparable<String>, MyInterface {

    private String name;
    public Integer age;

    @Override
    public int compareTo(String o) {
        return 0;
    }

    @Override
    public String man() {
        return "男人";
    }

    private String show() {
        return "我的国籍是中国";
    }

    public String interesting() {
        return "我的兴趣是打游戏";
    }
}
